<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<s:url var="indexEN" namespace="/" action="locale">
		<s:param name="request_locale">en_US</s:param>
	</s:url>
	<s:url var="indexZH" namespace="/" action="locale">
		<s:param name="request_locale">zh_CN</s:param>
	</s:url>
	
	<s:a href="%{indexEN}">English</s:a>
	<s:a href="%{indexZH}">Chinese</s:a>
	
	<s:form action="login" namespace="/">
		<s:textfield name="name" key="global.name"></s:textfield>
		<s:password name="password" key="global.password"></s:password>
		<s:submit key="global.login"></s:submit>
	</s:form>
</body>
</html>